Classification of Multiple Emotions in Indonesian Text Using The K-Nearest Neighbor Method
نویسندگان
چکیده
Emotions are expressions manifested by individuals in response to what they see or experience. In this study, emotions were examined through individuals' tweets regarding the election issues Indonesia 2024. The collected then labeled based on using emotion wheel, which consisted of six categories: joy, love, surprise, anger, fear, and sadness. After labeling process, next step involved weighting TF-IDF (Term Frequency-Inverse Document Frequency) Bag-of-Words (BoW) techniques. Subsequently, model was evaluated K-Nearest Neighbor (KNN) algorithm with three different data splitting ratios: 80:20, 70:30, 60:40. From labels used modeling accuracy calculated, subsequently merged into positive negative categories. Then conducted same process labels. results study revealed that utilization outperformed BoW. highest achieved 80:20 ratio, attaining 58% for six-label classification 79% two-label
منابع مشابه
An Improved K-Nearest Neighbor with Crow Search Algorithm for Feature Selection in Text Documents Classification
The Internet provides easy access to a kind of library resources. However, classification of documents from a large amount of data is still an issue and demands time and energy to find certain documents. Classification of similar documents in specific classes of data can reduce the time for searching the required data, particularly text documents. This is further facilitated by using Artificial...
متن کاملAn Improved K-Nearest Neighbor with Crow Search Algorithm for Feature Selection in Text Documents Classification
The Internet provides easy access to a kind of library resources. However, classification of documents from a large amount of data is still an issue and demands time and energy to find certain documents. Classification of similar documents in specific classes of data can reduce the time for searching the required data, particularly text documents. This is further facilitated by using Artificial...
متن کاملClassification of Emotions in Indonesian Texts Using K-nn Method
This paper aims to classify texts in Indonesian language into emotion expression classes. The data were taken from 6 basic emotion classes whose training documents and test documents were obtained from articles in www.kompas.com, www.suaramerdeka.com, and www.detik.com. The text weighing was processed by using TFID method which is an integration of Term Frequency (TF) and Inverse Document Frequ...
متن کاملText Categorization Using Weight Adjusted k-Nearest Neighbor Classification
Text categorization is the task of deciding whether a document belongs to a set of prespecified classes of documents. Automatic classification schemes can greatly facilitate the process of categorization. Categorization of documents is challenging, as the number of discriminating words can be very large. Many existing algorithms simply would not work with these many number of features. k-neares...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Journal of Applied Engineering and Technological Science
سال: 2023
ISSN: ['2715-6079', '2715-6087']
DOI: https://doi.org/10.37385/jaets.v4i2.1964